package com.ejuornal.bean;

import java.io.Serializable;
/**
 * 项目名称：ejuornal    
 * 类名称：Admin    
 * 类描述：  管理员信息  
 * 创建人：Administrator    
 * 创建时间：Jan 23, 2013 5:14:35 PM    
 * 修改人：Administrator    
 * 修改时间：Jan 23, 2013 5:14:35 PM    
 * 修改备注：    
 * @version     
 */
public class Admin implements Serializable{
    private static final long serialVersionUID = 1L;
    private int adminId; //编号
    private String account; //用户名
    private String password; //密码
    private int roleId;
    private Role role;  //角色
    public int getAdminId() {
        return adminId;
    }
    public void setAdminId(int adminId) {
        this.adminId = adminId;
    }
    public String getAccount() {
        return account;
    }
    public void setAccount(String account) {
        this.account = account;
    }
    public String getPassword() {
        return password;
    }
    public void setPassword(String password) {
        this.password = password;
    }
    public Role getRole() {
        return role;
    }
    public void setRole(Role role) {
        this.role = role;
    }
    public int getRoleId() {
        return roleId;
    }
    public void setRoleId(int i) {
        this.roleId = i;
    }
}
